drift along the street

Translations
бродить по улице
He spent the afternoon drifting along the street, lost in thought.
Он провел день, бродя по улице, погруженный в мысли.